﻿@model IEnumerable<JT.Domain.Detectability.MiddleTable>

@{
    ViewData["Title"] = "检测能力";
}


<p>
    <a asp-action="Create">添加</a>
</p>
<table class="table">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.Ability.Id)
            </th>
            <th> @Html.DisplayNameFor(model => model.DetectionRange.Range)</th>

            <th>
                @Html.DisplayNameFor(model => model.Ability.Detectability)

            </th>
            <th>
                @Html.DisplayNameFor(model => model.StandardMethod.Method)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.CreateTime)
            </th>
            <th></th>
        </tr>
    </thead>
    <tbody>
@foreach (var item in Model) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Ability.Id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.DetectionRange.Range)
            </td>

            <td>
                @Html.DisplayFor(modelItem => item.Ability.Detectability)
            </td>
            <td>

                @Html.DisplayFor(modelItem => item.StandardMethod.Method)

            </td>
            <td>
                @Html.DisplayFor(modelItem => item.CreateTime)
            </td>
            <td>
                <a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
                <a asp-action="Details" asp-route-id="@item.Id">Details</a> |
                <a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
            </td>
        </tr>
}
    </tbody>
</table>
